package hello.controller.fuga;

import java.util.ArrayList;
import java.util.Arrays;

import hello.model.CounterOfUserEntry;
import hello.service.BakaService;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.datastore.Datastore;

public class TestController extends Controller {

    @Override
    public Navigation run() throws Exception {
        CounterOfUserEntry counter = new CounterOfUserEntry();
        counter.setKey(CounterOfUserEntry.createKey());
        counter.setCounter(1L);
        Datastore.put(counter);
        this.response.getWriter().print("__SUCCESS__");
        return null;
    }
}
